# import random
# import os
#
# if __name__ == '__main__':
#     os.environ.setdefault("DJANGO_SETTINGS_MODULE", "crm.settings")
#     import django
#
#     django.setup()
#     from app01 import models
#
#     source_type = (('qq', "qq群"),
#                    ('referral', "内部转介绍"),
#                    ('website', "官方网站"),
#                    ('baidu_ads', "百度推广"),
#                    ('office_direct', "直接上门"),
#                    ('WoM', "口碑"),
#                    ('public_class', "公开课"),
#                    ('website_luffy', "路飞官网"),
#                    ('others', "其它"),)
#
#     course_choices = (('LinuxL', 'Linux中高级'),
#                       ('PythonFullStack', 'Python高级全栈开发'),)
#
#     customer_list = []
#     for i in range(300):
#         d = {
#             'qq': '12345%s' % i,
#             'name': '张三%s' % i if i > 150 else '王五%s' % i,
#             'source': source_type[random.randint(0, 8)][0],  # 来源
#             'course': course_choices[random.randint(0, 1)][0],  # 咨询课程
#         }
#         customer_obj = models.Customer(**d)
#         customer_list.append(customer_obj)
#
#     models.Customer.objects.bulk_create(customer_list)

a = 0
if a:
    print('11')
else:
    print('22')